import React from 'react';
import { useParams } from 'react-router-dom';

const Chapter: React.FC = () => {
  const { chapterId } = useParams();
  return (
    <div>
      <h2>章节内容 - {chapterId}</h2>
    </div>
  );
};

export default Chapter; 